@echo off

set CUR_DIR=%cd%
rem 远程调试使用
rem set JAVA_DEBUG_OPTS= -Xdebug -Xrunjdwp:transport=dt_socket,address=8008,server=y,suspend=n
set JAVA_CASSPATH=.\*;%CUR_DIR%\lib\*;
set JAVA_OPTS= -classpath %JAVA_CASSPATH% %JAVA_DEBUG_OPTS% -Dupgrade.log4j.path="%CUR_DIR%\var\logs"
set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=utf-8
java %JAVA_OPTS% cn.uc.ucgc.community.upgrade.Main %*